package com.sitech.portal.system.domain;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

public class TblSYS_LOGINMSG implements Serializable {
	public static String SESSION_KEY = "USER_SESSION_KEY";
	public static Short USER_IS_UNVALID = Short.decode("1");
	public String USER_ID_UP;
	public String LOGIN_ID;
	public String NAME;
	public String LOGIN_PASSWD;
	public String LOGIN_PHONE;
	/** The value of the simple valid property. */
	private Short VALID;
	public int LOGIN_STATE;
	public String COMP_ID;
	public String DEPT_ID;
	public String EMAIL_ADDR;
	public String DEPT_NAME;
	public String LOCKSTATE;
	public String logId;
	private String IS_TEAM;
	private String COMPANY_NAME;
	private String MANAGE_UNIT_ID;
	public String USER_ID;
	public String LOCAL_PHONE; // add by liufei 20100318
	private String stylePath;
	private String STYLE_IS_TAB;
	private String roleIds;
	private String MENU_TYPE;	//portal菜单样式
	private String IS_VIP;	//1 白名单；非1 普通用户

	private List roles = new ArrayList();
	private List workGroups = new ArrayList();
	private String workGroupIds;
	private List mgrDepts = new ArrayList();
	private String mgrDeptIds;	//管理的部门

	public String getRoleIds() {
		return roleIds;
	}

	public void setRoleIds(String roleIds) {
		this.roleIds = roleIds;
	}

	public String getWorkGroupIds() {
		return workGroupIds;
	}

	public void setWorkGroupIds(String workGroupIds) {
		this.workGroupIds = workGroupIds;
	}

	public TblSYS_LOGINMSG() {
	}

	@Override
	public boolean equals(Object o) {
		if (this == o) return true;
		if (o == null || getClass() != o.getClass()) return false;

		TblSYS_LOGINMSG that = (TblSYS_LOGINMSG) o;

		return LOGIN_ID != null ? LOGIN_ID.equals(that.LOGIN_ID)
				: that.LOGIN_ID == null
				&& (USER_ID != null ? USER_ID.equals(that.USER_ID) : that.USER_ID == null);

	}

	@Override
	public int hashCode() {
		int result = LOGIN_ID != null ? LOGIN_ID.hashCode() : 0;
		result = 31 * result + (USER_ID != null ? USER_ID.hashCode() : 0);
		return result;
	}

	public String getLOGIN_ID() {
		return LOGIN_ID;
	}

	public void setLOGIN_ID(String s) {
		LOGIN_ID = s;
	}

	public String getNAME() {
		return NAME;
	}

	public void setNAME(String s) {
		NAME = s;
	}

	public String getLOGIN_PASSWD() {
		return LOGIN_PASSWD;
	}

	public void setLOGIN_PASSWD(String s) {
		LOGIN_PASSWD = s;
	}

	public String getLOGIN_PHONE() {
		return LOGIN_PHONE;
	}

	public void setLOGIN_PHONE(String s) {
		LOGIN_PHONE = s;
	}

	public int getLOGIN_STATE() {
		return LOGIN_STATE;
	}

	public void setLOGIN_STATE(int i) {
		LOGIN_STATE = i;
	}

	public String getCOMP_ID() {
		return COMP_ID;
	}

	public void setCOMP_ID(String s) {
		COMP_ID = s;
	}

	public String getDEPT_ID() {
		return DEPT_ID;
	}

	public void setDEPT_ID(String s) {
		DEPT_ID = s;
	}

	public String getEMAIL_ADDR() {
		return EMAIL_ADDR;
	}

	public void setEMAIL_ADDR(String s) {
		EMAIL_ADDR = s;
	}

	/**
	 * @return Returns the valid.
	 */
	public Short getVALID() {
		return VALID;
	}

	/**
	 * @param valid
	 *            The valid to set.
	 */
	public void setVALID(Short valid) {
		this.VALID = valid;
	}

	/**
	 * @return Returns the dEPT_Name.
	 */
	public String getDEPT_NAME() {
		return DEPT_NAME;
	}

	/**
	 * @param name
	 *            The dEPT_Name to set.
	 */
	public void setDEPT_NAME(String name) {
		DEPT_NAME = name;
	}

	/**
	 * @return Returns the roles.
	 */
	public List getRoles() {
		return roles;
	}

	/**
	 * @param roles
	 *            The roles to set.
	 */
	public void setRoles(List roles) {
		this.roles = roles;
	}

	/**
	 * @return Returns the uSER_ID_UP.
	 */
	public String getUSER_ID_UP() {
		return USER_ID_UP;
	}

	/**
	 * @param user_id_up
	 *            The uSER_ID_UP to set.
	 */
	public void setUSER_ID_UP(String user_id_up) {
		USER_ID_UP = user_id_up;
	}

	public String getLOCKSTATE() {
		return LOCKSTATE;
	}

	public void setLOCKSTATE(String lockstate) {
		LOCKSTATE = lockstate;
	}

	public String getLogId() {
		return logId;
	}

	public void setLogId(String logId) {
		this.logId = logId;
	}

	public String getIS_TEAM() {
		return IS_TEAM;
	}

	public void setIS_TEAM(String is_team) {
		IS_TEAM = is_team;
	}

	public String getMANAGE_UNIT_ID() {
		return MANAGE_UNIT_ID;
	}

	public void setMANAGE_UNIT_ID(String manage_unit_id) {
		MANAGE_UNIT_ID = manage_unit_id;
	}

	public String getStylePath() {
		return stylePath;
	}

	public void setStylePath(String stylePath) {
		this.stylePath = stylePath;
	}

	public String getCOMPANY_NAME() {
		return COMPANY_NAME;
	}

	public void setCOMPANY_NAME(String company_name) {
		COMPANY_NAME = company_name;
	}

	public String getUSER_ID() {
		return USER_ID;
	}

	public void setUSER_ID(String user_id) {
		USER_ID = user_id;
	}

	public String getLOCAL_PHONE() {
		return LOCAL_PHONE;
	}

	public void setLOCAL_PHONE(String local_phone) {
		LOCAL_PHONE = local_phone;
	}

	public String getSTYLE_IS_TAB() {
		return STYLE_IS_TAB;
	}

	public void setSTYLE_IS_TAB(String style_is_tab) {
		STYLE_IS_TAB = style_is_tab;
	}

	public String getMENU_TYPE() {
		return MENU_TYPE;
	}

	public void setMENU_TYPE(String menu_type) {
		MENU_TYPE = menu_type;
	}

	public List getWorkGroups() {
		return workGroups;
	}

	public void setWorkGroups(List workGroups) {
		this.workGroups = workGroups;
	}

	public String getIS_VIP() {
		return IS_VIP;
	}

	public void setIS_VIP(String is_vip) {
		IS_VIP = is_vip;
	}

	public String getMgrDeptIds() {
		return mgrDeptIds;
	}

	public void setMgrDeptIds(String mgrDeptIds) {
		this.mgrDeptIds = mgrDeptIds;
	}

	public List getMgrDepts() {
		return mgrDepts;
	}

	public void setMgrDepts(List mgrDepts) {
		this.mgrDepts = mgrDepts;
	}
}